package br.gfca.simplenet;

public interface ServerListener {

	public void clientConnected( int newClientId );

	public void clientDisconnected( int leavingClientId );
	
	public void maxClientsReached( int maxNumber );
	
	public void waitingFailed( WaitingFailureEvent wfe );

	public void messageReceived( String message, int senderId );
	
	public void messageSent( int sentToId, String message );
	
	public void messageFailed( int sentToId, String message );
}
